﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LdtJudge.DataEngine.Model.OptimizationModel
{
    /// <summary>
    /// 管辖案件回填优选入参类
    /// </summary>
    public class FillBackOptParameterModel
    {
        /// <summary>
        /// 案件类型   必填
        /// </summary>
        public string CaseType { get; set; }
        /// <summary>
        /// 法院ID
        /// </summary>
        public string CourtID { get; set; }
        /// <summary>
        /// 案件唯一ID 必填
        /// </summary>
        public string Outrelatid { get; set; }
        /// <summary>
        /// 案件CaseID
        /// </summary>
        public string CaseID { get; set; }
        /// <summary>
        /// 应用ID 必填
        /// </summary>
        public string AppId { get; set; }
        /// <summary>
        /// 案由ID集合多个用英文逗号隔开
        /// </summary>
        public string CCIDs { get; set; }
        /// <summary>
        /// 消息ID
        /// </summary>
        public string MsgId { get; set; }

        /// <summary>
        /// 数据回填信息
        /// </summary>
        public List<DataContent> Contents;

        /// <summary>
        /// 可分析文书
        /// </summary>
        public string SystemCode { get; set; }

        public string laststage { get; set; }

        /// <summary>
        /// 消息状态
        /// </summary>
        public string MsgState { get; set; }

        /// <summary>
        /// 地域
        /// </summary>
        public string District { get; set; }

        /// <summary>
        /// 排序问题
        /// </summary>
        public List<OredContent> OredContents { get; set; }
    }

    /// <summary>
    /// 文本顺序
    /// </summary>
    public class OredContent 
    {
        /// <summary>
        /// 当前顺序序号
        /// </summary>
        public int OrderNumber { get; set; }

       /// <summary>
       /// 文本唯一ID
       /// </summary>
        public string sfid { get; set; }
    }
    /// <summary>
    /// Class DataContent.数据回填对象
    /// </summary>
    public class DataContent
    {
        /// <summary>
        /// 数据源名称
        /// </summary>
        public string SourceCode { get; set; }
        /// <summary>
        /// 数据回填内容
        /// </summary>
        /// <value>The content.</value>
        public string Content { get; set; }

        /// <summary>
        /// 是否是证据 0不是证据数据，1是证据数据
        /// </summary>
        public int IsEvidence { get; set; }

        /// <summary>
        /// 证据与事实要素关键路径集合base64
        /// </summary>
        public string EvidenceXpathList { get; set; }

        /// <summary>
        /// 数据源ID
        /// </summary>
        public string sfid { get; set; }


    }
}
